<template>
    <el-button :type="btnType" waves size="small"><i class="iconfont icon-sousuo" v-show="showIcon" />{{ $t('搜索') }}</el-button>
</template>
<script>
import waves from '@/directive/waves/index.js'
export default {
    name:'AddButtonIcon',
    props:{
        showIcon: {
            type: Boolean,
            default: false
        },

        btnType: {
         type: String,
         default: 'primary'   
        }
    },
    directives: {
        waves
    },
}
</script>
<style lang="scss" scoped>
    // .el-button--small {
    //     width: 50px;
    // }
</style>